//
//  ShaderTypes.h
//  ZSceneDemo
//
//  Created by 张鑫 on 2020/9/16.
//  Copyright © 2020 www.lionaitech.com. All rights reserved.
//

#ifndef ShaderTypes_h
#define ShaderTypes_h



#include <simd/simd.h>

// color 和 texture 不需要同时存在，这里是方便代码调试
struct VertexIn {
    vector_float4 position;
    vector_float3 color;
    vector_float2 texture;
};
struct Viewport {
    float scale;
    vector_uint2 viewportSize;
};

#endif /* ShaderTypes_h */
